builderparser: Allow bind-source without bind-property
authorMohammed Sadiq <sadiq@sadiqpk.org>
Wed, 7 Aug 2019 02:12:03 +0000 (07:42 +0530)
committerMohammed Sadiq <sadiq@sadiqpk.org>
Sat, 10 Aug 2019 13:31:36 +0000 (19:01 +0530)
commitc1bb699151f4f3098762bb85aeaa1e37cae271ea
treef2d0a27866fbabf27d99ca1b9e4f5e1b48550e0a
parent120cfcc120b03b2a552ce4e77eba0bcc97a3ac54
builderparser: Allow bind-source without bind-property

This allow users to bind same property of two objects with only
specifing “name” and “bind-source” in UI file.

Fixes https://gitlab.gnome.org/GNOME/gtk/issues/2080
gtk/gtkbuilder.c
gtk/gtkbuilderparser.c
gtk/tools/gtk4builder.rng